package com.dfrz.problem.model;

import java.util.Date;
import java.util.Set;

public class ProjectInfo {
	private Integer projectId;
	/**
	 * 项目经理
	 */
	private Integer pmId;
	private Integer projectStatus;
	private String projectName;
	private String projectDescription;
	private Date createTime;
	/**
	 * 项目周期(天)
	 */
	private Integer projectCycle;
	
	/**
	 * 项目员工
	 */
	private Set<Employee> projectPlayers;
	
	private Set<ProblemInfo> problem;
	
	public ProjectInfo(){
		
	}
	
	public ProjectInfo(Integer projectId,Integer pmId, Integer projectStatus, String projectName,
			String projectDescription, Date createTime, Integer projectCycle) {
		super();
		this.projectId = projectId;
		this.pmId = pmId;
		this.projectStatus = projectStatus;
		this.projectName = projectName;
		this.projectDescription = projectDescription;
		this.createTime = createTime;
		this.projectCycle = projectCycle;
	}

	public void setProblem(Set<ProblemInfo> problem) {
		this.problem = problem;
	}
	
	public Set<ProblemInfo> getProblem() {
		return problem;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getPmId() {
		return pmId;
	}

	public void setPmId(Integer pmId) {
		this.pmId = pmId;
	}

	public Integer getProjectStatus() {
		return projectStatus;
	}

	public void setProjectStatus(Integer projectStatus) {
		this.projectStatus = projectStatus;
	}

	public String getProjectDescription() {
		return projectDescription;
	}

	public void setProjectDescription(String projectDescription) {
		this.projectDescription = projectDescription;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getProjectCycle() {
		return projectCycle;
	}

	public void setProjectCycle(Integer projectCycle) {
		this.projectCycle = projectCycle;
	}

	public Set<Employee> getProjectPlayers() {
		return projectPlayers;
	}

	public void setProjectPlayers(Set<Employee> projectPlayers) {
		this.projectPlayers = projectPlayers;
	}

	public String getProjectName() {
		return projectName;
	}
	
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
}
